package com.huiztech.kaoqinji;

import com.baidu.mapapi.map.MapView;
import com.baidu.mapapi.map.Overlay;
import com.baidu.platform.comapi.basestruct.GeoPoint;

public abstract class MyMapOverlay extends Overlay {
    public boolean onTap(GeoPoint geo, MapView mapView) {

        double userLongitude = geo.getLongitudeE6();

        double userLatitude = geo.getLatitudeE6();// /1E6
        System.out.println((int) userLongitude + "经度" + (int) userLatitude + "维度");
        changePoint(geo, 2);

        return false;

    }

    public abstract void changePoint(GeoPoint newPoint, int type);
}
